package tp5;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface ICB extends Remote{
	public static int PORT = 1099;
	public static String CB = "cb";
	public void retrait(float somme) throws RemoteException;
	public void depot(float somme) throws RemoteException;
	public float getSolde() throws RemoteException;
	public void transfert(CB compte, Virement vir) throws RemoteException ;
	public void setCodeClient(int codeClient) throws RemoteException;
	public int getCodeClient() throws RemoteException;
	
}
